<?php
//decode by http://www.yunlu99.com/
namespace app\admin\model;
class AuthGroup extends Base
{
	public function getStatusTurnAttr($value, $data)
	{
		$turnArr = [0 => lang('status0'), 1 => lang('status1')];
		return $turnArr[$data['status']];
	}

	public function getModuleTurnAttr($value, $data)
	{
		$turnArr = ['admin' => lang('module_admin'), 'member' => lang('module_member')];
		return $turnArr[$data['module']];
	}
}